package itbour.onetouchshow.bean;

import java.io.Serializable;

/**
 * Created by guoh on 2018/7/6.
 * 功能描述：
 * 需要的参数：
 */
public class MusicInfoBean implements Serializable {
    /**
     * id : 1
     * name : 雨的印记
     * url : https://oss-itbour.yijianxiu.com/1.mp3
     * "duration" : 26,        // 音频时长, 单位: 秒
     * "thumb" : "https://oss-itbour.yijianxiu.com/1.jpg",     // 音乐缩略图, 是否保留待 UI 图确定
     * <p>
     * "id": 4,//2 开头代表视频。
     * "ct": 1404,
     * "start": 0,
     * "duration": 7,
     * "url": "http://itbour-user.oss-cn-hangzhou.aliyuncs.com/video/U20/2018/06/157/164335966_MfTwbt66GsZzOUI6IdHA"
     */

    private int id;
    private String name;
    private String thumb;
    private int ct;
    private int start;
    private double duration;
    private String url;
    private double bgmDuration;
    private int progress;
    private boolean isPlay;
    private boolean isFullShow;

    public int getCt() {
        return ct;
    }

    public void setCt(int ct) {
        this.ct = ct;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public double getBgmDuration() {
        return bgmDuration;
    }

    public void setBgmDuration(double bgmDuration) {
        this.bgmDuration = bgmDuration;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public boolean isPlay() {
        return isPlay;
    }

    public void setPlay(boolean play) {
        isPlay = play;
    }

    public boolean isFullShow() {
        return isFullShow;
    }

    public void setFullShow(boolean fullShow) {
        isFullShow = fullShow;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public double getDuration() {
        return duration;
    }

    public void setDuration(double duration) {
        this.duration = duration;
    }

    public String getThumb() {
        return thumb;
    }

    public void setThumb(String thumb) {
        this.thumb = thumb;
    }
}
